package com.wdb.modules.system.mapper;

import com.wdb.modules.system.domain.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author: wendaobai@qq.com
 * @date: 2024/3/21 0021 11:11
 */
@Mapper
public interface RoleDeptMapper {
  public void insertData(@Param("roleId") Long roleId, @Param("depts") Set<Dept> depts);

  void deleteByRoleIds(List<Integer> roleIds);
}
